package com.leyou.user.service;

import com.leyou.client.item.ItemClient;
import com.leyou.item.pojo.Sku;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserCentosService {
    @Autowired
    private ItemClient itemClient;


    public List<Sku> getFavorite(Long id) {
        List<Sku> userFavorite = itemClient.findUserFavorite(id);
        return userFavorite;
    }


}
